package com.clkj.sunhelp.mvp.policyinfo.policydetail;

import com.clkj.sunhelp.bean.PolicyDetail;
import com.clkj.sunhelp.mvp.base.BasePresenter;
import com.clkj.sunhelp.mvp.base.BaseView;

/**
 * Created by Administrator on 2017/3/27.
 */

public class PolicyDetailContract  {

    public interface View extends BaseView<Presenter> {

        void getPolicyDetail();

        void onGetPolicyDetailSuccess(PolicyDetail policyDetail);

        void onGetPolicyDetailError(String tip);
    }

    public interface Presenter extends BasePresenter
    {
        void getPolicyDetail(String policyId);
    }

}
